#include "file.h"

file* createFile(char* fileName, int length, int pieceSize)
{
  file* f = malloc(sizeof(file));
  strncpy(f->fileName,fileName,256);
  f->length = length;
  f->pieceSize = pieceSize;
  return f;
}

void freeFile(file* f)
{
  free(f);
}
